home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / intsdkss.lha / include / sys / domain.h < prev    next >
C/C++ Source or Header  |  1996-04-09  |  1KB  |  40 lines

  1. #ifndef SYS_DOMAIN_H
  2. #define SYS_DOMAIN_H
  3. /*
  4.  * Copyright (c) 1982, 1986 Regents of the University of California.
  5.  * All rights reserved.
  6.  *
  7.  * Redistribution and use in source and binary forms are permitted
  8.  * provided that the above copyright notice and this paragraph are
  9.  * duplicated in all such forms and that any documentation,
  10.  * advertising materials, and other materials related to such
  11.  * distribution and use acknowledge that the software was developed
  12.  * by the University of California, Berkeley.  The name of the
  13.  * University may not be used to endorse or promote products derived
  14.  * from this software without specific prior written permission.
  15.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  16.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  17.  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  18.  *
  19.  *    @(#)domain.h    7.3 (Berkeley) 6/27/88
  20.  */
  21.  
  22. /*
  23.  * Structure per communications domain.
  24.  */
  25. struct    domain {
  26.     int    dom_family;        /* AF_xxx */
  27.     char    *dom_name;
  28.     int    (*dom_init)();          /* initialize domain data structures */
  29.     int    (*dom_externalize)();   /* externalize access rights */
  30.     int    (*dom_dispose)();       /* dispose of internalized rights */
  31.     struct    protosw *dom_protosw, *dom_protoswNPROTOSW;
  32.     struct    domain *dom_next;
  33. };
  34.  
  35. #ifdef KERNEL
  36. extern struct domain *domains;
  37. #endif
  38.  
  39. #endif
  40.